Skip to content

docs: add JUnit-style example test to k6 module docs#11564

Open
PreAgile wants to merge 1 commit intotestcontainers:mainfrom
PreAgile:docs/k6-example-test
Open

docs: add JUnit-style example test to k6 module docs#11564
PreAgile wants to merge 1 commit intotestcontainers:mainfrom
PreAgile:docs/k6-example-test

Conversation

@PreAgile
Copy link

This updates the K6 module documentation to show a JUnit-style example test, not just the container setup and script snippet.

The docs now include the existing K6ContainerTests flow so users can see the expected test shape end-to-end:

  • configure the container
  • start the container
  • wait for the test run output
  • assert on the logs

This keeps the existing codeinclude documentation style and reuses the tested source snippet instead of duplicating code in the docs.

Fixes #8780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Add example test to the K6 module docs

1 participant